import { createApp } from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import Vue3ColorPicker from "vue3-colorpicker";
import "vue3-colorpicker/style.css";
import print from 'vue3-print-nb'
import '@/css/font.scss'
import '@/css/index.scss'
import '@/css/tailwind.css';
// import print from './components/print'
const app = createApp(App)
app.use(ElementPlus, { locale: zhCn })
app.config.globalProperties.$systemOpen = false
app.use(print);
app.use(router)
app.use(Vue3ColorPicker)
// app.use(print)
app.mount('#app')
// console.log(app._context.components.ElDialog)
// app._context.components.ElDialog.closeOnClickModal.default = false;
